package com.sumainfor.pc.epc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sumainfor.common.util.JsonResult;

import java.util.List;
import java.util.Map;

/**
 * @Author PuaChen
 * @Create 2018-11-16 12:08
 */
public interface StockManageService {
    JsonResult getSelectComponentData();

    JsonResult getStockDataList(Page page, Map<String, Object> params);

    JsonResult getStockActionInfo(String stockId);

    JsonResult outStockShopAction(List<Map<String, Object>> dataList);

    JsonResult getStockStoreListHeadType();

    JsonResult getStockStoreList(Page page, Map<String, Object> params);

    JsonResult setDisableOrEnableForMo(String moId, Integer state);

    JsonResult updateStockForMo(Map<String, Object> params);

    JsonResult getShopForMoInfo(String moId);

    JsonResult getShopMoForOutOrInLogs(Page page, Map<String, Object> params);

    JsonResult getShopMoForOutOrInGotoTypeData(String moId, String type);

    JsonResult getInitSelectComponentDataForShopType();

    JsonResult getInitSelectComponentDataForShopNames(String typeId, Boolean isIcon);

    JsonResult getInitSelectComponentDataForShopBrand(String shopName);

    JsonResult getInitSelectComponentDataForSpe(String shopId);

    JsonResult getInitSelectComponentDataForMo(String speId);

    JsonResult getInitSelectComponentDataForUnit(String speId);

    JsonResult getInitSelectComponentDataForSup(String supType);

    JsonResult insertShopInfo(Map<String, Object> params);

    JsonResult signOutputForStock(Map<String, Object> params);

    JsonResult getStocketOutPeopleDataList();

    JsonResult signInputForStock(Map<String, Object> params);

    JsonResult selectShopNameAndIcon(List<String> ids);

    JsonResult selectConfigInfoByConfigId(String configId);

    JsonResult selectComIdArrayByConIdList(List<String> ids);
}
